<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>黑马面面</title>
  <link rel="stylesheet" href="./css/normalize.css">
  <link rel="stylesheet" href="./css/index.css">
  <script src="./js/flexible.js"></script>

  <link rel="stylesheet" href="./css/swiper.min.css">
</head>

<body>
  <section class="wrap">
    <!-- 头部区域 -->
    <header class="header">黑马面面</header>
    <!-- nav -->
    <nav>
      <a href="">
        <img src="./icons/icon1.png" alt="">
        <span>HR面试</span>
      </a>
      <a href="">
        <img src="./icons/icon1.png" alt="">
        <span>HR面试</span>
      </a>
      <a href="">
        <img src="./icons/icon1.png" alt="">
        <span>HR面试</span>
      </a>
      <a href="">
        <img src="./icons/icon1.png" alt="">
        <span>HR面试</span>
      </a>
      <a href="">
        <img src="./icons/icon1.png" alt="">
        <span>HR面试</span>
      </a>
      <a href="">
        <img src="./icons/icon1.png" alt="">
        <span>HR面试</span>
      </a>
    </nav>

    <!-- ad -->
    <section class="ad">
      <img src="./images/go.png" alt="">
    </section>
  </section>

  <!-- 就业指导模块 -->
  <section class="content">
    <div class="title">
      <h4><img src="./icons/i2.png" alt="">就业指导</h4>
      <a href="">更多>></a>
    </div>
    <!-- 旋转木马轮播图 -->
    <div class="main">
      <div class="swiper-container get_job_fo">
        <div class="swiper-wrapper">
          <div class="swiper-slide">
            <a href="#">
              <img src="./images/pic.png" alt="">
            </a>
            <p>老师教你应对面试技巧</p>
          </div>
          <div class="swiper-slide">
            <a href="#">
              <img src="https://pan.zealsay.com/zealsay/cover/7.jpg" alt="">
            </a>
            <p>老师教你应对面试技巧</p>
          </div>
          <div class="swiper-slide">
            <a href="#">
              <img src="https://pan.zealsay.com/zealsay/cover/1.jpg" alt="">
            </a>
            <p>老师教你应对面试技巧</p>
          </div>
        </div>
        <!-- Add Pagination -->
        <div class="swiper-pagination"></div>
      </div>
      <div class="swiper-button-prev"></div>
      <!--左箭头。如果放置在swiper-container外面，需要自定义样式。-->
      <div class="swiper-button-next"></div>
      <!--右箭头。如果放置在swiper-container外面，需要自定义样式。-->
    </div>
  </section>

  <!-- 充电学习模块 -->
  <section class="content">
    <div class="title">
      <h4><img src="./icons/i1.png" alt="">充电学习</h4>
      <a href="">更多>></a>
    </div>
    <!-- 旋转木马轮播图 -->
    <div class="study">
      <!-- Swiper -->
      <div class="swiper-container study_fo">
        <div class="swiper-wrapper">
          <div class="swiper-slide">
            <img src="./images/pic1.png" alt="">
            <h5>说地道英语，告别中式英语</h5>
            <p>156人学习</p>
          </div>
          <div class="swiper-slide">
            <img src="./images/pic1.png" alt="">
            <h5>说地道英语，告别中式英语</h5>
            <p>156人学习</p>
          </div>
          <div class="swiper-slide">
            <img src="./images/pic1.png" alt="">
            <h5>说地道英语，告别中式英语</h5>
            <p>156人学习</p>
          </div>
          <div class="swiper-slide">
            <img src="./images/pic1.png" alt="">
            <h5>说地道英语，告别中式英语</h5>
            <p>156人学习</p>
          </div>
        </div>

        <!-- Add Pagination -->
        <div class="swiper-pagination"></div>
      </div>
    </div>
  </section>

  <footer class="footer">
    <a href="#" class="item">
      <img src="./icons/home.png" alt="">
      <p>首页</p>
    </a>
    <a href="#" class="item">
      <img src="./icons/ms.png" alt="">
      <p>模拟面试</p>
    </a>
    <a href="#" class="item">
      <img src="./icons/net.png" alt="">
      <p>技术面试</p>
    </a>
    <a href="#" class="item">
      <img src="./icons/user.png" alt="">
      <p>我的主页</p>
    </a>
  </footer>


  <!-- 引入js -->
  <script src="./js/swiper.min.js"></script>
  <!-- Initialize Swiper -->
  <script>
    // 第一个函数的  就业指导轮播图
    (function () {
      var swiper = new Swiper('.get_job_fo', {
        // 能看看到slide的个数
        slidesPerView: 2,
        // 每个slide之间的距离
        spaceBetween: 30,
        centeredSlides: true,
        loop: true,
        // 前进后退按钮
        navigation: {
          nextEl: '.swiper-button-next',
          prevEl: '.swiper-button-prev',
        },
        // 分页器
        // pagination: {
        //   el: '.swiper-pagination',
        //   clickable: true,
        // },
      });
    })();

    // 第二个函数的轮播图
    (function () {
      var swiper = new Swiper('.study_fo', {
        slidesPerView: 2.5,
        spaceBetween: 20,
        // pagination: {
        //   el: '.swiper-pagination',
        //   clickable: true,
        // },
      });
    })();
  </script>
</body>

</html>